<?php
/**
 * A test-suite for running all testcases for the Sphoof framework. You can use
 * this file to run all testcases from your IDE.
 */
class AllTests extends PHPUnit_Framework_TestSuite
{
	public static function suite( )
	{
		$suite = new PHPUnit_Framework_TestSuite( 'Sphoof' );
		foreach( glob( '*.php' ) as $file ) {
			if( $file !== basename( __FILE__ ) ) {
				$suite->addTestFile( $file );
			}
		}
		return $suite;
	}
}